import { get, post } from '@/util/axios';

// 添加进购物车或者下单
export function addOrder(params) {
  return post('/o2o/order/addOrder', params);
}

// 查看购物车或者下单
export function getOrderList(params) {
  return get('/o2o/order/getorderlist', params);
}

// 删除购物车/订单(删除订单，取消订单用修改接口)
export function deleteOrder(params) {
  return post('/o2o/order/deleteOrder', params);
}
